# a = [1, 2, 3, 4]
# a.pop()
# print(a)


# a = ['aa', 'bb', 'cc', 'dd']
# a.remove('cc')
# print(a)


a = [1, 2, 3, 4]
b = [5, 6, 7, 8]
a.extend(b)
print(a)
print(b)
